/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package objects;

/**
 *
 * @author bwplo_000
 */
public class MobInfo {
    public Mob M;
    public float life;
    public MobInfo(Mob m){
        this.M = m;
        life = M.max_life;
    }
    
    public void attack(float dmg){
        System.out.println(M.life+" - "+dmg);
        M.life-=dmg;
        
    }
}
